﻿using System;
using UnityEngine;

public class GameMain : MonoBehaviour
{
    private void Awake()
    {
        GameStageManager.Instance.SwitchState(StageType.HotUpdate);
        ManagerLogic.Instance.OnAwake();
    }

    private void Update()
    {
        ManagerLogic.Instance.OnUpdate();
    }

    private void LateUpdate()
    {
        ManagerLogic.Instance.OnLateUpdate();
    }

    private void OnDestroy()
    {
        ManagerLogic.Instance.OnDestroy();
    }
}